package com.xiaoyi.springboot.listener;


import java.util.List;
import java.util.UUID;

public class MQMessage {
    private String uuid;
    private String command;
    private List<Object> data;
    private String clazz;
    private String desc;
    private Long lastAccess;
    private String signal;
    private String expanded;

    public MQMessage() {
        this.setUuid(UUID.randomUUID().toString());
    }

    public String getCommand() {
        return this.command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public List<Object> getData() {
        return this.data;
    }

    public void setData(List<Object> data) {
        this.data = data;
    }

    public String getClazz() {
        return this.clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Long getLastAccess() {
        return this.lastAccess;
    }

    public void setLastAccess(Long lastAccess) {
        this.lastAccess = lastAccess;
    }

    public String getSignal() {
        return this.signal;
    }

    public void setSignal(String signal) {
        this.signal = signal;
    }

    public String getExpanded() {
        return this.expanded;
    }

    public void setExpanded(String expanded) {
        this.expanded = expanded;
    }

    public String getUuid() {
        return this.uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
